from pyclbr import Class

from django.contrib import admin

from .models import ClassName, Student


# Register your models here.
class ClassNameAdmin(admin.ModelAdmin):
    list_display = ('name', 'pub_date')


class StudentAdmin(admin.ModelAdmin):
    list_display = ('name', 'gender', 'age', 'class_name', 'study_time')


admin.site.register(Student, StudentAdmin)
admin.site.register(ClassName, ClassNameAdmin)
